dda29856f90cc4f86c88dc6ac86a6e8161133e40,bundles/scripting/sightly/engine/src/main/java/org/apache/sling/scripting/sightly/impl/filter/I18nFilter.java,I18nFilter,apply,#Expression#ExpressionContext#,45
Before Change
return expression;
}
ExpressionNode translation = new RuntimeCall(FUNCTION, expression.getRoot(), new MapLiteral(expression.getOptions()));
return expression.withNode(translation).withRemovedOptions(HINT_OPTION, LOCALE_OPTION);
}
}
After Change
ExpressionNode translation = new RuntimeCall(FUNCTION, expression.getRoot(), new MapLiteral(getFilterOptions(expression,
HINT_OPTION, LOCALE_OPTION)));
expression.removeOption(I18N_OPTION);
return expression.withNode(translation);
}
}